﻿@model HotDealD2.Models.ThanhVien
@{
    Layout = "../Shared/MemberLayout.cshtml";
}

@{
    ViewBag.Title = "Cập nhật thông tin";
    ViewBag.UserName = "member";
}

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<title>@ViewBag.Title</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="../../../../Content/HomeSite/scripts/jquery.placeholder.js" ></script>
<link type="text/css" media="screen" rel="stylesheet" href="../../../../Content/MemberSite/cart.css" />
<link type="text/css" media="screen" rel="stylesheet" href="../../../../Content/MemberSite/MemberStyle.css" />
<!--[if IE 6]>
<script type="text/javascript" src="scripts/DD_belatedPNG_0.0.7a.js"></script> 
<script type="text/javascript" src="scripts/png_fix_elements.js"></script> 
<![endif]-->

</head>


<div class="main">
<div class="details-left">
       		<div class="infoprodetails">      
                 @using (@Html.BeginForm())
                 {
                    <div class="infopayment">
                    	<form action="http://muadeal.net/ajaxform/addorder" method="post" name="frminfopayment" id="frminfopayment">
                        <input type="hidden" name="txtcode" value="0030">
                        <div class="body-infopayment" style="border-top-left-radius: 10px;
                                                                border-top-right-radius: 10px;">
                        	<div class="labelinfopay" ><span>THÔNG TIN KHÁCH HÀNG</span></div>
                            <div class="boxinfopay">
                            	<table border="0" class="tbboxinfoship">
                                	<tbody>
                                    <tr>
                                    	<td align="right">Họ tên <span style="color:#F00">(*)</span>: </td>
                                        <td align="left">
                                        @Html.TextBoxFor(m => m.NguoiDung.HoTen, new { @class = "validate[required] text-input" })
                                     
                                         </td>
                                    </tr>
                                    <tr>
                                    	<td align="right">Email <span style="color:#F00">(*)</span>: </td>
                                        <td align="left">
                                        @Html.TextBoxFor(m => m.NguoiDung.Email, new { @class = "validate[required] text-input",@readonly ="readonly" })
                                       
                                        </td>
                                    </tr>
                                    <tr>
                                    	<td align="right">Điện thoại <span style="color:#F00">(*)</span>: </td>
                                        <td align="left">
                                        @Html.TextBoxFor(m => m.NguoiDung.SoDienThoai, new { @class = "validate[required] text-input" }) 
 
                                        </td>
                                    </tr>
                                    <tr>
                                    	<td align="right">Số nhà <span style="color:#F00">(*)</span>: </td>
                                        <td align="left">
                                        @Html.TextBoxFor(m => m.NguoiDung.SoNha, new { @class = "validate[required] text-input" }) 
                                 
                                        </td>
                                    </tr>
                                    <tr>
                                    	<td align="right">Đường <span style="color:#F00">(*)</span>: </td>
                                        <td align="left">
                                        @Html.TextBoxFor(m => m.NguoiDung.Duong, new { @class = "validate[required] text-input" }) 
                                   
                                        </td>
                                    </tr>
          
                                    <tr>
                                    	<td align="right">Tỉnh/Thành phố <span style="color:#F00">(*)</span>: </td>
                                        <td align="left">
                                        	<select name="tinh" id="ptxtprovince">
                                            	<option value="1">TP. Hồ Chí Minh</option>
                                            </select>
                                            
                                            <select name="quan" id="txtdistrict" class="validate[required]" style="width:140px;">
                                                <option value=""> Quận/Huyện </option>
                                                                                                <option value="1">Quận 1</option><option value="2">Quận 2</option><option value="3">Quận 3</option><option value="4">Quận 4</option><option value="5">Quận 5</option><option value="6">Quận 6</option><option value="7">Quận 7</option><option value="8">Quận 8</option><option value="9">Quận 9</option><option value="10" selected="selected">Quận 10</option><option value="11">Quận 11</option><option value="12">Quận 12</option><option value="13">Quận Bình Tân</option><option value="14">Quận Bình Thạnh</option><option value="15">Quận Gò Vấp</option><option value="16">Quận Phú Nhuận</option><option value="17">Quận Tân Bình</option><option value="18">Quận Tân Phú</option><option value="19">Quận Thủ Đức</option><option value="20">Khác</option></select>
                                          
                                                       
                                        </td>
                                    </tr>
                     <tr>
                                    	<td align="right">Phường/Xã <span style="color:#F00">(*)</span>: </td>
                                        <td align="left">
                                        @Html.TextBoxFor(m => m.NguoiDung.PhuongXa, new { @class = "validate[required] text-input" }) 
                                   
                                        </td>
                                    </tr>
                                    <tr>
                                    	<td align="right" valign="top">Ghi chú: </td>
                                        <td><textarea name="txtnote" id="txtnote"></textarea></td>
                                    </tr>
                                    
                                </tbody></table>
                                <script >
                                    function change() {

                                        if (document.getElementById('remember_me_popup').checked)
                                            document.getElementById('remember_me_popup').value = true;
                                        else
                                            document.getElementById('remember_me_popup').value = false;

                                    }

                              </script>
                                <div style="margin:-10px 0px 20px 200px;">
                                    	<input class="valign checkbox" type="checkbox" name="remember_me" id="remember_me_popup" value="false" onchange="change()" >
                                        <label for="remember_me_popup" class="valign">Đăng kí thành doanh nghiệp</label>
                                    </div>
                            </div>   
                            <div class="form_buy_item" align="center" style="margin-top: 20px;">
                            <div class="buttons-container left_text_align" style="margin-left:200px">
                                <span class="button-submit"><input type="submit" value="Cập nhật"></span>
                            </div>                 
                        </div>
                        <div class="bottom-infopayment"></div>
                        </form>
                        
                    </div><!--infopayment-->      
                    }
                </div>
                
       </div><!--.details-left-->
              <div class="clear"></div>		<div class="clear"></div>
    </div>